package decorator.deco_exam.resultBoard;

import decorator.deco_exam.Attach;
import decorator.deco_exam.Board;
import decorator.deco_exam.List;
import decorator.deco_exam.State;
import decorator.deco_exam.Write;

/*일반게시판 - list , write*/
public class DownLoad_board {
	public static void main(String arg[]){
		Board write = new Write();
		write = new Attach(write);
		
		System.out.println(write.getFunction());
		
		Board list = new List();
		list = new Attach(list);
		//list = new State(list);
		
		System.out.println(list.getFunction());
		
/*		Board view = new View();
		view = new PreviousView(view);
		
		System.out.println(view.getFunction());*/
	}
}
